package me.firstapp.service.weixin.transfer;

import java.math.BigDecimal;
import java.util.Date;
import java.util.List;
import java.util.Map;

import me.firstapp.common.utils.Page;
import me.firstapp.module.weixin.transfer.TransferMemberProduct;

public interface TransferMemberProductService {

	TransferMemberProduct executeAddTransferMemberProduct(String ownOpenId, BigDecimal amount, Integer counts);

	List<TransferMemberProduct> findTransferMemberProducts(Integer pageNo, Integer pageSize);

	TransferMemberProduct executeOffTransferMemberProduct(TransferMemberProduct transferMemberProduct);

	TransferMemberProduct findById(Long id);

	Page<TransferMemberProduct> findTransferMemberProductPage(Integer pageNo, Integer pageSize,
			Map<String, Object> searchParams, String sortParam, String sortType, Date startTime, Date endTime);
}
